package com.zdy.hibernate.entity;
import java.util.*;
public class Functions {
    private int id;
    private String name;
    //关联属性
    private Set as = new HashSet();

    public Functions() {
    }

    public Functions(String name) {
        this.name = name;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Set getAs() {
        return as;
    }

    public void setAs(Set as) {
        this.as = as;
    }

    @Override
    public String toString() {
        return "functions{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", as=" + as +
                '}';
    }
}
